package com.bizfty.api.apimanager.models;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.ManyToOne;

/**
 *
 * @author johns
 */
@DiscriminatorValue("M")
public class DataTypeModel extends DataType {
    /**
     * 模型
     */
    @ManyToOne
    @Column(name="MODEL")
    private Model model;

    /**
     * 模型
     * @return the model
     */
    public Model getModel() {
        return model;
    }

    /**
     * 模型
     * @param model the model to set
     */
    public void setModel(Model model) {
        this.model = model;
    }
}
